package com.ids.service;

import com.ids.daoManager.AdminPasswordDaoManager;

public class AdminPasswordService {
	
		private static AdminPasswordService instance = new AdminPasswordService();

		public static AdminPasswordService getInstance() {
			return instance;
		}

		public String verifyAdmin(String empCode, String password)
		{
			AdminPasswordDaoManager adminPasswordDaoManager=new AdminPasswordDaoManager();
			return adminPasswordDaoManager.verifyAdmin(empCode, password);
			
		}
		public String updateAdminPassword(String empCode, String oldpassword, String newpassword)
		{
			AdminPasswordDaoManager adminPasswordDaoManager=new AdminPasswordDaoManager();
			return adminPasswordDaoManager.updateAdminPassword(empCode, oldpassword, newpassword);
			}

}
